@var pageTitle = null;
@if(TaskStatusConst.WAITING_CLAIM == status){
    @pageTitle = "待签任务";
@} else {
    @pageTitle = "待办任务";
@}
@layout("/common/container.html", {"title" : pageTitle}){
<div class="card">
    <#card:head title="${pageTitle}" icon="la la-bars"/>
    <div class="card-body">
        <form class="e-form">
            <div class="query-modular">
                <input type="hidden" id="status" name="status" value="${status}">
                <div class="e-grid e-grid--ver e-grid--general">
                    <div class="e-grid-item e-grid-item--fluid">
                        <div class="row">
                            <!--str:查询条件区域-->
                            <div class="col-xl-3 col-lg-4 col-md-6 col-12">
                                <#form:input id="processInstanceId" name="流水号" />
                            </div>
                            <div class="col-xl-3 col-lg-4 col-md-6 col-12">
                                <#form:input id="businessTitle" name="工作内容" />
                            </div>
                            <!--end:查询条件区域-->
                        </div>
                    </div>
                    <div class="e-grid-item query-btn-group">
                        <#btn:search />
                        <#btn:reset />
                    </div>
                </div>
            </div>
            <div class="btn-row">
                <#tableTool />
            </div>
            <div class="e-datatable" id="activiti-task-list"></div>
        </form>
    </div>
</div>
<script>
    let status = '${status}';
</script>
<!--begin::页面脚本 -->
<#script src="static/modular/activiti/task/list.js" />
<#script src="static/modular/activiti/process/work-flow.js" />

<!--end::页面脚本 -->
@}